<?php
/**
 * Created by zhang.
 * User: zhang
 * Date: 2018/7/25
 * Time: 22:28
 */

namespace app\index\model;


use think\Model;

class barInfo extends Model
{
    protected $table = 'bar_bar_info';

    public function getBarList($where){
        $result = self::where($where)->select();
        return $result;
    }

    public function getBarInfo($where){
        $result = self::where($where)->find();
        return $result;
    }

    public function IncClickPeople($where){
        self::where($where)->setInc('bar_click_people','1');
    }


}